// 礼金记录类型
export interface GiftRecord {
    id: string;
    name: string;
    amount: number;
    date: string;
    type: string;
    remarks?: string;
    bookId: string;
}

// 礼簿类型
export interface GiftBook {
    id: string;
    title: string;
    createTime: string;
    coverImageUrl: string;
    type: string;
    amount?: number;
    guestCount?: number;
}

// API响应类型
export interface ApiResponse<T> {
    code: number;
    msg: string;
    data: T;
}

// 分页响应类型
export interface PageResponse<T> {
    records: T[];
    pageNumber: number;
    pageSize: number;
    totalPage: number;
    totalRow: number;
}

// 查询参数类型
export interface QueryParams {
    pageNum: number;
    pageSize: number;
    keyword?: string;
    type?: string;
    startTime?: string;
    endTime?: string;
    bookId?: string;
} 